package cn.zjyj.module.zjyj.controller.admin.riskassessmentdetail.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.zjyj.framework.common.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.zjyj.framework.common.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 风险评估备份分页 Request VO")
@Data
public class RiskAssessmentDetailPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "风险辨识id", example = "2801")
    private Long identifyId;

    @Schema(description = "风险申请记录id", example = "29503")
    private Long applyRecordId;

    @Schema(description = "风险辨识对象id", example = "10683")
    private Long identifyObjectId;

    @Schema(description = "风险辨识对象名称", example = "王五")
    private String identifyObjectName;

    @Schema(description = "风险辨识内容id", example = "8448")
    private Long identifyObjectContentId;

    @Schema(description = "风险类型（1:作业类，2:设备类，3:环境类，4公共类）", example = "2")
    private Integer riskType;

    @Schema(description = "辨识内容编码")
    private String identifyContentCode;

    @Schema(description = "辨识内容")
    private String identifyContent;

    @Schema(description = "危害")
    private String hazard;

    @Schema(description = "工程解决方案")
    private String projectSolution;

    @Schema(description = "管理解决方案")
    private String managerSolution;

    @Schema(description = "个人解决方案")
    private String selfSolution;

    @Schema(description = "培训教育解决方案")
    private String trainEduSolution;

    @Schema(description = "应急解决方案")
    private String badSolution;

    @Schema(description = "实例数量")
    private Integer instanceSize;

}